<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员管理中心</title>
<link rel="stylesheet" type="text/css" href="__TPL__/style/css/reset-min.css">
<link href="__TPL__/style/css/tabulous.css" rel="stylesheet" type="text/css">
<link href="__TPL__/style/css/web.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__TPL__/style/js/jquery.min.js"></script>
<script type="text/javascript" src="__TPL__/style/My97DatePicker/WdatePicker.js"></script>
<link rel="stylesheet" type="text/css" href="__TPL__/style/sdmenu/sdmenu.css" />
<script type="text/javascript" src="__TPL__/style/sdmenu/sdmenu.js">
		/***********************************************
		* Slashdot Menu script- By DimX
		* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
		* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
		***********************************************/
	</script>
<script type="text/javascript">
	// <![CDATA[
	var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
		myMenu.init();
	};
	// ]]>
	</script>
</head>

<body>
<div id="warp">
      {include common/header}
   <div class="content"> 
   
      {include common/left}
     <div id="right">
     <div class="info_title bd_nav"><strong>订单管理</strong></div>
           <div id="tabs">
		<ul>
			<li><a href="{url('order/index')}" title="">当前订单</a></li>
			<li><a href="{url('order/history')}" title="">历史订单</a></li>		 
		</ul>
        
		<div id="tabs_container">
       
		<div id="tabs-2">
         <div > <form action="{url('order/history')}" method="get">
         	预订日期：<input name="BeginDate" type="text"  class="text tt"  onClick="WdatePicker()" /> 至<input name="EndDate" type="text"  class="text tt" onClick="WdatePicker()" />
         	<input type="submit"  class="button" value="查询" />
         	
         </form></div>
			    <table width="750" border="0" cellspacing="0" cellpadding="0">
                  <thead>
                    <td>订单号</td>
                    <td>酒店名字</td>
                    <td>入住信息</td>
                    <td>状态</td>
                  </thead>
                  <tbody>
                  {loop $oldorder $val}
                  <tr>
                    <td>{$val['No']}</td>
                    <td>{$val['OrgName']}</td>
                    <td>抵：{$val['ArrivalDate']}<br />离：{$val['DepartureDate']}</td>
                    <td>{$status[$val['Status']]}</td>
                  </tr>
                  {/loop}
                  </tbody>
                </table>
	
		</div> 

		</div><!--End tabs container-->

     </div>   
    </div>
 </div>
  </div>
 
</body>
</html>
